package com.zx.map.service;

import com.zx.map.dao.model.MerchantTokenAuto;
import org.springframework.dao.DataAccessException;

/**
 * Created by IntelliJ IDEA. User: Administrator Date: 14-3-1 Time: 上午11:06 To
 * change this template use File | Settings | File Templates.
 */
public interface MerchantTokenService {

	/**
	 * 查找单条数据
	 * 
	 * @return
	 * @throws DataAccessException
	 */
	public MerchantTokenAuto getOneById(String merchantId) throws DataAccessException;

	/**
	 * 新增
	 *
	 * @param auto
	 * @return
	 * @throws DataAccessException
	 */
	public void add(MerchantTokenAuto auto) throws DataAccessException;


	/**
	 * 更新
	 *
	 * @param auto
	 * @throws DataAccessException
	 */
	public void update(MerchantTokenAuto auto) throws DataAccessException;

}
